import React from 'react'
//引入react-router-dom包,使用组件Oulet占位,useNavigate组件进行search和path传参
import {Oulet, useNavigate} from "react-router-dom"

export default function Home() {
  
  return (
    <div>
      <h3>我是Home的内容</h3>
      <button >Music</button>
      <button onClick={toNewsHandle}>News</button>
    </div>
  )
}
